package com.fingard.dsp.bank.reqrespobj.cashpool;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RetAtsBase;
import com.fingard.xml.XmlTextWriter;

public class RetAtsCPASQCashPoolAccSignInfoQry extends RetAtsBase {
    //执行状态码 0标识成功,其他均为失败
    public String respCode = "";
    //执行结果描述信息
    public String respInfo = "";
    //客户端产生的交易唯一标志
    public String trnId = "";
    //客户名称
    public String custName = "";
    //注册地
    public String regName = "";
    //账户帐号
    public String account = "";
    //币种代码
    public String currencyCode = "";
    //开户行名称
    public String bankName = "";
    //开户行所在国家/地区
    public String countryName = "";
    //账户性质名称
    public String accTypeName = "";
    //账户类型
    public String accType = "";
    //联系人
    public String accContact = "";
    //联系人手机号
    public String contactphone = "";
    //主账户
    public String upAccount = "";

    public RetAtsCPASQCashPoolAccSignInfoQry(ReqRespHeader p_header){
        retHeader = p_header;
        retXmlWriter = new XmlTextWriter();//用于输出返回ATS的XML报文
    }

    public void writeAfter() {
        retXmlWriter.writeElementString("RespCode", this.respCode);
        retXmlWriter.writeElementString("RespInfo", this.respInfo);
        retXmlWriter.writeElementString("TrnId", this.trnId);
        retXmlWriter.writeElementString("CustName", this.custName);
        retXmlWriter.writeElementString("RegName", this.regName);
        retXmlWriter.writeElementString("Account", this.account);
        retXmlWriter.writeElementString("CurrencyCode", this.currencyCode);
        retXmlWriter.writeElementString("BankName", this.bankName);
        retXmlWriter.writeElementString("CountryName", this.countryName);
        retXmlWriter.writeElementString("AccTypeName", this.accTypeName);
        retXmlWriter.writeElementString("AccType", this.accType);
        retXmlWriter.writeElementString("AccContact", this.accContact);
        retXmlWriter.writeElementString("Contactphone", this.contactphone);
        retXmlWriter.writeElementString("UpAccount", this.upAccount);
        retXmlWriter.writeEndDocument();
    }
}
